package com.langsin.dao;

import com.langsin.vo.Product;

import java.util.List;

public interface ProductDao {
    List<Product> queryAll() throws Exception;
    List<Product> queryListByName(String pname,String pcode) throws Exception;
    int insertProduct(Product product)throws Exception;
    Product queryProductById(String prodId) throws Exception;
    int updateProduct(Product product)throws  Exception;
}
